package string;

import java.util.Locale;

public class ToupperCaseDemo {
    public static void main(String[] args) {
        String line ="我爱Java";
        System.out.println(line);

        String lower =line.toLowerCase();
        System.out.println(lower);
        String upper =line.toUpperCase();
        System.out.println(upper);


        String code ="A↑K5sc";
        String input ="A↑K5sc";

        boolean equals =code.equals(input);
        System.out.println(equals);;

        code =code.toLowerCase();
        input =input.toLowerCase();
        equals =code.equals(input);
        System.out.println(equals);

        equals= code.equalsIgnoreCase(input);
        System.out.println(equals);






    }
}
